const modules = import.meta.glob("../views/**/**.vue");
const page404 = () => import("../views/404.vue")
const Container = () => import('../views/Container.vue')


export function makeRoutes(router){
    const path = (router) => {
        if(!router.component){
            router.component = Container
        }
    }
    router.forEach((item) => {path(item)})
    return router
}